package com.longlong.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("registration_primary")
public class RegistrationPrimary {


    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer formId;
    private Integer competitionId;
    private Integer like;


    /**
     * 报名表信息
     */
    @TableField(exist = false)
    private RegistrationForm registrationForm;
}
